package com.mdd.admin.service.royalty;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mdd.common.entity.AlipayRoyaltyAccountInfo;

/**
* @author DELL
* @description 针对表【alipay_royalty_account_info(分账账号信息)】的数据库操作Service
* @createDate 2023-11-13 17:00:22
*/
public interface AlipayRoyaltyAccountInfoService extends IService<AlipayRoyaltyAccountInfo> {

    /**
     * 根据组织类型获取分账信息
     * @return
     */
    AlipayRoyaltyAccountInfo getSysAccountByOrganizationType();

    /**
     * 根据商户id查询支付宝收款账户号信息
     * @param merchantId
     * @return
     */
    AlipayRoyaltyAccountInfo getAccountByMerchantId(Long merchantId);
}
